package com.xbongbong.paas.service;

import java.util.List;
import java.util.Map;
import com.xbongbong.pro.domain.entity.FieldConvertRuleEntity;
import com.xbongbong.pro.domain.entity.UpdateDataEntity;
import org.apache.ibatis.annotations.Param;


/**
 * @author bomfish
 */
public interface FieldConvertRuleModel {
   Long insert(FieldConvertRuleEntity entity);

   void insertBatch(List<FieldConvertRuleEntity> list);

   List<FieldConvertRuleEntity> findEntitys(Map<String, Object> param);

   Integer getEntitysCount(Map<String, Object> param);

   void update(FieldConvertRuleEntity entity);

   Integer updateBatch(@Param("list") List<FieldConvertRuleEntity> list, @Param("corpid") String corpid);

   FieldConvertRuleEntity getByKey(Long key, String corpid);
}
